﻿#region Using statements
using System;
using Microsoft.Xna.Framework;
#endregion

namespace Rectangular.Util
{
    public static class VectorHelper
    {
        private static Random _random = new Random();

        /// <summary>
        /// Generates a random Vector
        /// </summary>
        /// <param name="xBound"></param>
        /// <param name="yBound"></param>
        /// <returns></returns>
        public static Vector2 GenerateVector(int xBound, int yBound)
        {
            return new Vector2(_random.Next(xBound), _random.Next(yBound));
        }
    }
}